<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh/Core/Mesh/SmartHandles.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a00395_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">SmartHandles.hh</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* ========================================================================= *</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *                               OpenMesh                                    *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *           Copyright (c) 2001-2019, RWTH-Aachen University                 *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *           Department of Computer Graphics and Multimedia                  *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *                          All rights reserved.                             *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *                            www.openmesh.org                               *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *---------------------------------------------------------------------------*</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * This file is part of OpenMesh.                                            *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *---------------------------------------------------------------------------*</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without        *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions        *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * are met:                                                                  *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * 1. Redistributions of source code must retain the above copyright notice, *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    this list of conditions and the following disclaimer.                  *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright      *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    notice, this list of conditions and the following disclaimer in the    *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    documentation and/or other materials provided with the distribution.   *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * 3. Neither the name of the copyright holder nor the names of its          *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    contributors may be used to endorse or promote products derived from   *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    this software without specific prior written permission.               *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS       *</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"> * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A           *</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment"> * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER *</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment"> * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,  *</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,       *</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR        *</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment"> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF    *</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING      *</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS        *</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.              *</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> *                                                                           *</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * ========================================================================= */</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment">//== INCLUDES =================================================================</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &quot;Handles.hh&quot;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#include &lt;OpenMesh/Core/Mesh/PolyConnectivity.hh&gt;</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;OpenMesh/Core/System/OpenMeshDLLMacros.hh&gt;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">//== NAMESPACES ===============================================================</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="keyword">namespace </span><a class="code" href="a01233.html">OpenMesh</a> {</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">//== FORWARD DECLARATION ======================================================</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">struct </span>SmartVertexHandle;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">struct </span>SmartHalfedgeHandle;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="keyword">struct </span>SmartEdgeHandle;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="keyword">struct </span>SmartFaceHandle;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="comment">//== CLASS DEFINITION =========================================================</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="a02401.html">   68</a></span>&#160;<span class="keyword">class </span>OPENMESHDLLEXPORT <a class="code" href="a02401.html">SmartBaseHandle</a></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="a02401.html">SmartBaseHandle</a>(<span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh = <span class="keyword">nullptr</span>) : mesh_(_mesh) {}</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="a02401.html#ae66bd4bc4fabcb48e5dceb78d4bf3193">   74</a></span>&#160;  <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* <a class="code" href="a02401.html#ae66bd4bc4fabcb48e5dceb78d4bf3193">mesh</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> mesh_; }</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// TODO: should operators ==, !=, &lt; look at mesh_?</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* mesh_;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;};</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="a02405.html">   84</a></span>&#160;<span class="keyword">struct </span>OPENMESHDLLEXPORT <a class="code" href="a02405.html">SmartVertexHandle</a> : <span class="keyword">public</span> <a class="code" href="a02401.html">SmartBaseHandle</a>, <a class="code" href="a02241.html">VertexHandle</a></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;{</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="a02405.html">SmartVertexHandle</a>(<span class="keywordtype">int</span> _idx=-1, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh = <span class="keyword">nullptr</span>) : <a class="code" href="a02401.html">SmartBaseHandle</a>(_mesh), <a class="code" href="a02241.html">VertexHandle</a>(_idx) {}</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> out()      <span class="keyword">const</span>;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> halfedge() <span class="keyword">const</span>; <span class="comment">// alias for out</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="comment"></span>  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> in()       <span class="keyword">const</span>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstVertexFaceRange</a>      faces()              <span class="keyword">const</span>;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstVertexEdgeRange</a>      edges()              <span class="keyword">const</span>;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstVertexVertexRange</a>    vertices()           <span class="keyword">const</span>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstVertexIHalfedgeRange</a> incoming_halfedges() <span class="keyword">const</span>;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstVertexOHalfedgeRange</a> outgoing_halfedges() <span class="keyword">const</span>;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  uint valence()     <span class="keyword">const</span>;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="keywordtype">bool</span> is_boundary() <span class="keyword">const</span>;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <span class="keywordtype">bool</span> is_manifold() <span class="keyword">const</span>;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;};</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="a02409.html">  114</a></span>&#160;<span class="keyword">struct </span>OPENMESHDLLEXPORT <a class="code" href="a02409.html">SmartHalfedgeHandle</a> : <span class="keyword">public</span> <a class="code" href="a02401.html">SmartBaseHandle</a>, <a class="code" href="a02245.html">HalfedgeHandle</a></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;{</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a>(<span class="keywordtype">int</span> _idx=-1, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh = <span class="keyword">nullptr</span>) : <a class="code" href="a02401.html">SmartBaseHandle</a>(_mesh), <a class="code" href="a02245.html">HalfedgeHandle</a>(_idx) {}</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  SmartHalfedgeHandle next() <span class="keyword">const</span>;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  SmartHalfedgeHandle prev() <span class="keyword">const</span>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  SmartHalfedgeHandle opp()  <span class="keyword">const</span>;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <a class="code" href="a02405.html">SmartVertexHandle</a>   to()   <span class="keyword">const</span>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;  <a class="code" href="a02405.html">SmartVertexHandle</a>   from() <span class="keyword">const</span>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  <a class="code" href="a02413.html">SmartEdgeHandle</a>     edge() <span class="keyword">const</span>;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <a class="code" href="a02417.html">SmartFaceHandle</a>     face() <span class="keyword">const</span>;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <span class="keywordtype">bool</span> is_boundary() <span class="keyword">const</span>;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;};</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="a02413.html">  137</a></span>&#160;<span class="keyword">struct </span>OPENMESHDLLEXPORT <a class="code" href="a02413.html">SmartEdgeHandle</a> : <span class="keyword">public</span> <a class="code" href="a02401.html">SmartBaseHandle</a>, <a class="code" href="a02249.html">EdgeHandle</a></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;{</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="a02413.html">SmartEdgeHandle</a>(<span class="keywordtype">int</span> _idx=-1, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh = <span class="keyword">nullptr</span>) : <a class="code" href="a02401.html">SmartBaseHandle</a>(_mesh), <a class="code" href="a02249.html">EdgeHandle</a>(_idx) {}</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> halfedge(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i) <span class="keyword">const</span>;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> h(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)        <span class="keyword">const</span>;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> h0()                      <span class="keyword">const</span>;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> h1()                      <span class="keyword">const</span>;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <a class="code" href="a02405.html">SmartVertexHandle</a>   vertex(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)   <span class="keyword">const</span>;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <a class="code" href="a02405.html">SmartVertexHandle</a>   v(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)        <span class="keyword">const</span>;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <a class="code" href="a02405.html">SmartVertexHandle</a>   v0()                      <span class="keyword">const</span>;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;  <a class="code" href="a02405.html">SmartVertexHandle</a>   v1()                      <span class="keyword">const</span>;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;  <span class="keywordtype">bool</span> is_boundary() <span class="keyword">const</span>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;};</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="a02417.html">  162</a></span>&#160;<span class="keyword">struct </span>OPENMESHDLLEXPORT <a class="code" href="a02417.html">SmartFaceHandle</a> : <span class="keyword">public</span> <a class="code" href="a02401.html">SmartBaseHandle</a>, <a class="code" href="a02253.html">FaceHandle</a></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;{</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="a02417.html">SmartFaceHandle</a>(<span class="keywordtype">int</span> _idx=-1, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh = <span class="keyword">nullptr</span>) : <a class="code" href="a02401.html">SmartBaseHandle</a>(_mesh), <a class="code" href="a02253.html">FaceHandle</a>(_idx) {}</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;  <a class="code" href="a02409.html">SmartHalfedgeHandle</a> halfedge() <span class="keyword">const</span>;</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstFaceVertexRange</a>   vertices()  <span class="keyword">const</span>;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstFaceHalfedgeRange</a> halfedges() <span class="keyword">const</span>;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstFaceEdgeRange</a>     edges()     <span class="keyword">const</span>;</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;  <a class="code" href="a02305.html">PolyConnectivity::ConstFaceFaceRange</a>     faces()     <span class="keyword">const</span>;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  uint valence()     <span class="keyword">const</span>;</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;  <span class="keywordtype">bool</span> is_boundary() <span class="keyword">const</span>;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;};</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">  186</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a>   <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02241.html">VertexHandle</a>   _vh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02405.html">SmartVertexHandle</a>  (_vh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), _mesh); }</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="a01233.html#a5ccaa2bbf41b5e2922c9cf468e19d0f9">  188</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02245.html">HalfedgeHandle</a> _hh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a>(_hh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), _mesh); }</div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="a01233.html#a809de93ba742b6efcb69096ba69d6e47">  190</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02413.html">SmartEdgeHandle</a>     <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02249.html">EdgeHandle</a>     _eh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02413.html">SmartEdgeHandle</a>    (_eh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), _mesh); }</div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="a01233.html#a6e851a8aee973afd8895e765501ef7c8">  192</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02417.html">SmartFaceHandle</a>     <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02253.html">FaceHandle</a>     _fh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>* _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02417.html">SmartFaceHandle</a>    (_fh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), _mesh); }</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="a01233.html#ae5fea432456b35a329b4566e0044c298">  195</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a>   <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02241.html">VertexHandle</a>   _vh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>&amp; _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02405.html">SmartVertexHandle</a>  (_vh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), &amp;_mesh); }</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="a01233.html#ac32dd90bfc902f4306f98d24a0a2a402">  197</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02245.html">HalfedgeHandle</a> _hh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>&amp; _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a>(_hh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), &amp;_mesh); }</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="a01233.html#a76b999388c33f233966322f2f0f30396">  199</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02413.html">SmartEdgeHandle</a>     <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02249.html">EdgeHandle</a>     _eh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>&amp; _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02413.html">SmartEdgeHandle</a>    (_eh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), &amp;_mesh); }</div><div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="a01233.html#ab8561ef8449fb9b9cbca90bf30c58451">  201</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02417.html">SmartFaceHandle</a>     <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(<a class="code" href="a02253.html">FaceHandle</a>     _fh, <span class="keyword">const</span> <a class="code" href="a02313.html">PolyConnectivity</a>&amp; _mesh) { <span class="keywordflow">return</span> <a class="code" href="a02417.html">SmartFaceHandle</a>    (_fh.<a class="code" href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">idx</a>(), &amp;_mesh); }</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="comment">// helper to convert Handle Types to Smarthandle Types</span></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> HandleT&gt;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="a02421.html">  206</a></span>&#160;<span class="keyword">struct </span><a class="code" href="a02421.html">SmartHandle</a>;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="a02425.html">  208</a></span>&#160;<span class="keyword">template</span> &lt;&gt; <span class="keyword">struct </span><a class="code" href="a02421.html">SmartHandle</a>&lt;<a class="code" href="a02241.html">VertexHandle</a>&gt;   { <span class="keyword">using</span> <a class="code" href="a02405.html">type</a> = <a class="code" href="a02405.html">SmartVertexHandle</a>;   };</div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="a02429.html">  209</a></span>&#160;<span class="keyword">template</span> &lt;&gt; <span class="keyword">struct </span><a class="code" href="a02421.html">SmartHandle</a>&lt;<a class="code" href="a02245.html">HalfedgeHandle</a>&gt; { <span class="keyword">using</span> <a class="code" href="a02409.html">type</a> = <a class="code" href="a02409.html">SmartHalfedgeHandle</a>; };</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="a02433.html">  210</a></span>&#160;<span class="keyword">template</span> &lt;&gt; <span class="keyword">struct </span><a class="code" href="a02421.html">SmartHandle</a>&lt;<a class="code" href="a02249.html">EdgeHandle</a>&gt;     { <span class="keyword">using</span> <a class="code" href="a02413.html">type</a> = <a class="code" href="a02413.html">SmartEdgeHandle</a>;     };</div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="a02437.html">  211</a></span>&#160;<span class="keyword">template</span> &lt;&gt; <span class="keyword">struct </span><a class="code" href="a02421.html">SmartHandle</a>&lt;<a class="code" href="a02253.html">FaceHandle</a>&gt;     { <span class="keyword">using</span> <a class="code" href="a02417.html">type</a> = <a class="code" href="a02417.html">SmartFaceHandle</a>;     };</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="a02405.html#a04c5857f491002719b8391fbb2ff513b">  214</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02405.html#a04c5857f491002719b8391fbb2ff513b">SmartVertexHandle::out</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;halfedge_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;}</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="a02405.html#a00953b89fc4233e5546689f6cb1a2b3b">  220</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02405.html#a00953b89fc4233e5546689f6cb1a2b3b">SmartVertexHandle::halfedge</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;  <span class="keywordflow">return</span> out();</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;}</div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="a02405.html#a84ad8741fab9c111939e3d8c0c80116a">  225</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02405.html#a84ad8741fab9c111939e3d8c0c80116a">SmartVertexHandle::in</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;  <span class="keywordflow">return</span> out().<a class="code" href="a02409.html#adc36a9561bdafb812c0fd32bd72cbab6">opp</a>();</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;}</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="a02405.html#ad4a50c83791b0a4398c6b8e0c2ab7e06">  230</a></span>&#160;<span class="keyword">inline</span> uint <a class="code" href="a02405.html#ad4a50c83791b0a4398c6b8e0c2ab7e06">SmartVertexHandle::valence</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;valence(*<span class="keyword">this</span>);</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;}</div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="a02405.html#afbac44a2f6434d445dc695758e9323d9">  236</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a02405.html#afbac44a2f6434d445dc695758e9323d9">SmartVertexHandle::is_boundary</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;is_boundary(*<span class="keyword">this</span>);</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;}</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;</div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="a02405.html#a6fb843383e8c8c6930a1e11e67dac3cd">  242</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a02405.html#a6fb843383e8c8c6930a1e11e67dac3cd">SmartVertexHandle::is_manifold</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;is_manifold(*<span class="keyword">this</span>);</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;}</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="a02409.html#aac79cd59d056e29c892b783219fc9d86">  248</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02409.html#aac79cd59d056e29c892b783219fc9d86">SmartHalfedgeHandle::next</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;next_halfedge_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;}</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="a02409.html#ac7e8f051e4a8451e6e39d26e1e427c7b">  254</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02409.html#ac7e8f051e4a8451e6e39d26e1e427c7b">SmartHalfedgeHandle::prev</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;prev_halfedge_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;}</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="a02409.html#adc36a9561bdafb812c0fd32bd72cbab6">  260</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02409.html#adc36a9561bdafb812c0fd32bd72cbab6">SmartHalfedgeHandle::opp</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;opposite_halfedge_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;}</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="a02409.html#ae7b0d5c8c5d4eb533901143089b16b28">  266</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02409.html#ae7b0d5c8c5d4eb533901143089b16b28">SmartHalfedgeHandle::to</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;to_vertex_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;}</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno"><a class="line" href="a02409.html#a358dce687fa7b4a49270a3774c613263">  272</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02409.html#a358dce687fa7b4a49270a3774c613263">SmartHalfedgeHandle::from</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;from_vertex_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;}</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div><div class="line"><a name="l00278"></a><span class="lineno"><a class="line" href="a02409.html#ada2427efcb135d4e1e345d63dfea9f88">  278</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02413.html">SmartEdgeHandle</a> <a class="code" href="a02409.html#ada2427efcb135d4e1e345d63dfea9f88">SmartHalfedgeHandle::edge</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;edge_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;}</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="a02409.html#a12479fdd603a152aaaa9d94f99c30696">  284</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02417.html">SmartFaceHandle</a> <a class="code" href="a02409.html#a12479fdd603a152aaaa9d94f99c30696">SmartHalfedgeHandle::face</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;face_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;}</div><div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;</div><div class="line"><a name="l00290"></a><span class="lineno"><a class="line" href="a02409.html#a70ca5b7852d4912f3fa4751734251af9">  290</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a02409.html#a70ca5b7852d4912f3fa4751734251af9">SmartHalfedgeHandle::is_boundary</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;is_boundary(*<span class="keyword">this</span>);</div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;}</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="a02413.html#acb5676ffbd6d04266dd767d2eacbb725">  296</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02413.html#acb5676ffbd6d04266dd767d2eacbb725">SmartEdgeHandle::halfedge</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)<span class="keyword"> const</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;halfedge_handle(*<span class="keyword">this</span>, _i), mesh());</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;}</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="a02413.html#a4f9784635bf566b83d9e6971592722e2">  302</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02413.html#a4f9784635bf566b83d9e6971592722e2">SmartEdgeHandle::h</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)<span class="keyword"> const</span></div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;  <span class="keywordflow">return</span> halfedge(_i);</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;}</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;</div><div class="line"><a name="l00307"></a><span class="lineno"><a class="line" href="a02413.html#af68268dde49e2914aa42873527321b27">  307</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02413.html#af68268dde49e2914aa42873527321b27">SmartEdgeHandle::h0</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;  <span class="keywordflow">return</span> h(0);</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;}</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;</div><div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="a02413.html#a7e49b4e030617bc6d11a4eba4d55c74b">  312</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02413.html#a7e49b4e030617bc6d11a4eba4d55c74b">SmartEdgeHandle::h1</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;  <span class="keywordflow">return</span> h(1);</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;}</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="a02413.html#a9645b2b6c42305a7bf39dc12d8eb53d7">  317</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02413.html#a9645b2b6c42305a7bf39dc12d8eb53d7">SmartEdgeHandle::vertex</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)<span class="keyword"> const</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;  <span class="keywordflow">return</span> halfedge(_i).from();</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;}</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno"><a class="line" href="a02413.html#a2cf01496990f5cc232b938b821ec191d">  322</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02413.html#a2cf01496990f5cc232b938b821ec191d">SmartEdgeHandle::v</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> _i)<span class="keyword"> const</span></div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;  <span class="keywordflow">return</span> vertex(_i);</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;}</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="a02413.html#abae6d44bdd6a7a6f06c7a800e532c95d">  327</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02413.html#abae6d44bdd6a7a6f06c7a800e532c95d">SmartEdgeHandle::v0</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;  <span class="keywordflow">return</span> v(0);</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;}</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="a02413.html#a3ec46172ffabd78ca3ceaa7d443ce64e">  332</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02405.html">SmartVertexHandle</a> <a class="code" href="a02413.html#a3ec46172ffabd78ca3ceaa7d443ce64e">SmartEdgeHandle::v1</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;  <span class="keywordflow">return</span> v(1);</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;}</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="a02413.html#af7638ba8298f80eda698c1d4964d7ac4">  337</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a02413.html#af7638ba8298f80eda698c1d4964d7ac4">SmartEdgeHandle::is_boundary</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;is_boundary(*<span class="keyword">this</span>);</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;}</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;</div><div class="line"><a name="l00343"></a><span class="lineno"><a class="line" href="a02417.html#af52ccfa4c8ecccebc513ea148ed406f4">  343</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="a02409.html">SmartHalfedgeHandle</a> <a class="code" href="a02417.html#af52ccfa4c8ecccebc513ea148ed406f4">SmartFaceHandle::halfedge</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">make_smart</a>(mesh()-&gt;halfedge_handle(*<span class="keyword">this</span>), mesh());</div><div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;}</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="a02417.html#a04d97197fe5f6c9927bda867eb15797d">  349</a></span>&#160;<span class="keyword">inline</span> uint <a class="code" href="a02417.html#a04d97197fe5f6c9927bda867eb15797d">SmartFaceHandle::valence</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;valence(*<span class="keyword">this</span>);</div><div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;}</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="a02417.html#a266a6ebac725785ac3fbaaa52323d22e">  355</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="a02417.html#a266a6ebac725785ac3fbaaa52323d22e">SmartFaceHandle::is_boundary</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="keyword"></span>{</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;  assert(mesh() != <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;  <span class="keywordflow">return</span> mesh()-&gt;is_boundary(*<span class="keyword">this</span>);</div><div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;}</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;} <span class="comment">// namespace OpenMesh</span></div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;<span class="comment">//=============================================================================</span></div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;<span class="comment">//=============================================================================</span></div><div class="ttc" id="a02413_html_a9645b2b6c42305a7bf39dc12d8eb53d7"><div class="ttname"><a href="a02413.html#a9645b2b6c42305a7bf39dc12d8eb53d7">OpenMesh::SmartEdgeHandle::vertex</a></div><div class="ttdeci">SmartVertexHandle vertex(unsigned int _i) const</div><div class="ttdoc">Returns one of the two incident vertices of the edge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:317</div></div>
<div class="ttc" id="a02253_html"><div class="ttname"><a href="a02253.html">OpenMesh::FaceHandle</a></div><div class="ttdoc">Handle for a face entity. </div><div class="ttdef"><b>Definition:</b> Handles.hh:141</div></div>
<div class="ttc" id="a02409_html_ada2427efcb135d4e1e345d63dfea9f88"><div class="ttname"><a href="a02409.html#ada2427efcb135d4e1e345d63dfea9f88">OpenMesh::SmartHalfedgeHandle::edge</a></div><div class="ttdeci">SmartEdgeHandle edge() const</div><div class="ttdoc">Returns incident edge of halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:278</div></div>
<div class="ttc" id="a02417_html_a04d97197fe5f6c9927bda867eb15797d"><div class="ttname"><a href="a02417.html#a04d97197fe5f6c9927bda867eb15797d">OpenMesh::SmartFaceHandle::valence</a></div><div class="ttdeci">uint valence() const</div><div class="ttdoc">Returns the valence of the face. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:349</div></div>
<div class="ttc" id="a02413_html_a2cf01496990f5cc232b938b821ec191d"><div class="ttname"><a href="a02413.html#a2cf01496990f5cc232b938b821ec191d">OpenMesh::SmartEdgeHandle::v</a></div><div class="ttdeci">SmartVertexHandle v(unsigned int _i) const</div><div class="ttdoc">Shorthand for vertex() </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:322</div></div>
<div class="ttc" id="a02417_html_a266a6ebac725785ac3fbaaa52323d22e"><div class="ttname"><a href="a02417.html#a266a6ebac725785ac3fbaaa52323d22e">OpenMesh::SmartFaceHandle::is_boundary</a></div><div class="ttdeci">bool is_boundary() const</div><div class="ttdoc">Returns true iff the face lies at the boundary (i.e. one of the edges is boundary) ...</div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:355</div></div>
<div class="ttc" id="a02417_html_af52ccfa4c8ecccebc513ea148ed406f4"><div class="ttname"><a href="a02417.html#af52ccfa4c8ecccebc513ea148ed406f4">OpenMesh::SmartFaceHandle::halfedge</a></div><div class="ttdeci">SmartHalfedgeHandle halfedge() const</div><div class="ttdoc">Returns one of the halfedges of the face. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:343</div></div>
<div class="ttc" id="a02413_html_a4f9784635bf566b83d9e6971592722e2"><div class="ttname"><a href="a02413.html#a4f9784635bf566b83d9e6971592722e2">OpenMesh::SmartEdgeHandle::h</a></div><div class="ttdeci">SmartHalfedgeHandle h(unsigned int _i) const</div><div class="ttdoc">Shorthand for halfedge() </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:302</div></div>
<div class="ttc" id="a02405_html_ad4a50c83791b0a4398c6b8e0c2ab7e06"><div class="ttname"><a href="a02405.html#ad4a50c83791b0a4398c6b8e0c2ab7e06">OpenMesh::SmartVertexHandle::valence</a></div><div class="ttdeci">uint valence() const</div><div class="ttdoc">Returns valence of the vertex. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:230</div></div>
<div class="ttc" id="a02409_html_ae7b0d5c8c5d4eb533901143089b16b28"><div class="ttname"><a href="a02409.html#ae7b0d5c8c5d4eb533901143089b16b28">OpenMesh::SmartHalfedgeHandle::to</a></div><div class="ttdeci">SmartVertexHandle to() const</div><div class="ttdoc">Returns vertex pointed to by halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:266</div></div>
<div class="ttc" id="a02413_html_af7638ba8298f80eda698c1d4964d7ac4"><div class="ttname"><a href="a02413.html#af7638ba8298f80eda698c1d4964d7ac4">OpenMesh::SmartEdgeHandle::is_boundary</a></div><div class="ttdeci">bool is_boundary() const</div><div class="ttdoc">Returns true iff the edge lies on the boundary (i.e. one of the halfedges is boundary) ...</div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:337</div></div>
<div class="ttc" id="a02401_html_ae66bd4bc4fabcb48e5dceb78d4bf3193"><div class="ttname"><a href="a02401.html#ae66bd4bc4fabcb48e5dceb78d4bf3193">OpenMesh::SmartBaseHandle::mesh</a></div><div class="ttdeci">const PolyConnectivity * mesh() const</div><div class="ttdoc">Get the underlying mesh of this handle. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:74</div></div>
<div class="ttc" id="a02401_html"><div class="ttname"><a href="a02401.html">OpenMesh::SmartBaseHandle</a></div><div class="ttdoc">Base class for all smart handle types. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:68</div></div>
<div class="ttc" id="a02405_html_a6fb843383e8c8c6930a1e11e67dac3cd"><div class="ttname"><a href="a02405.html#a6fb843383e8c8c6930a1e11e67dac3cd">OpenMesh::SmartVertexHandle::is_manifold</a></div><div class="ttdeci">bool is_manifold() const</div><div class="ttdoc">Returns true iff (the mesh at) the vertex is two-manifold ? </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:242</div></div>
<div class="ttc" id="a02409_html_adc36a9561bdafb812c0fd32bd72cbab6"><div class="ttname"><a href="a02409.html#adc36a9561bdafb812c0fd32bd72cbab6">OpenMesh::SmartHalfedgeHandle::opp</a></div><div class="ttdeci">SmartHalfedgeHandle opp() const</div><div class="ttdoc">Returns opposite halfedge handle. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:260</div></div>
<div class="ttc" id="a02405_html_afbac44a2f6434d445dc695758e9323d9"><div class="ttname"><a href="a02405.html#afbac44a2f6434d445dc695758e9323d9">OpenMesh::SmartVertexHandle::is_boundary</a></div><div class="ttdeci">bool is_boundary() const</div><div class="ttdoc">Returns true iff the vertex is incident to a boundary halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:236</div></div>
<div class="ttc" id="a02409_html_a358dce687fa7b4a49270a3774c613263"><div class="ttname"><a href="a02409.html#a358dce687fa7b4a49270a3774c613263">OpenMesh::SmartHalfedgeHandle::from</a></div><div class="ttdeci">SmartVertexHandle from() const</div><div class="ttdoc">Returns vertex at start of halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:272</div></div>
<div class="ttc" id="a02421_html"><div class="ttname"><a href="a02421.html">OpenMesh::SmartHandle</a></div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:206</div></div>
<div class="ttc" id="a02413_html_a7e49b4e030617bc6d11a4eba4d55c74b"><div class="ttname"><a href="a02413.html#a7e49b4e030617bc6d11a4eba4d55c74b">OpenMesh::SmartEdgeHandle::h1</a></div><div class="ttdeci">SmartHalfedgeHandle h1() const</div><div class="ttdoc">Shorthand for halfedge(1) </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:312</div></div>
<div class="ttc" id="a02241_html"><div class="ttname"><a href="a02241.html">OpenMesh::VertexHandle</a></div><div class="ttdoc">Handle for a vertex entity. </div><div class="ttdef"><b>Definition:</b> Handles.hh:120</div></div>
<div class="ttc" id="a02409_html_aac79cd59d056e29c892b783219fc9d86"><div class="ttname"><a href="a02409.html#aac79cd59d056e29c892b783219fc9d86">OpenMesh::SmartHalfedgeHandle::next</a></div><div class="ttdeci">SmartHalfedgeHandle next() const</div><div class="ttdoc">Returns next halfedge handle. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:248</div></div>
<div class="ttc" id="a02413_html_abae6d44bdd6a7a6f06c7a800e532c95d"><div class="ttname"><a href="a02413.html#abae6d44bdd6a7a6f06c7a800e532c95d">OpenMesh::SmartEdgeHandle::v0</a></div><div class="ttdeci">SmartVertexHandle v0() const</div><div class="ttdoc">Shorthand for vertex(0) </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:327</div></div>
<div class="ttc" id="a02409_html"><div class="ttname"><a href="a02409.html">OpenMesh::SmartHalfedgeHandle</a></div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:114</div></div>
<div class="ttc" id="a02405_html_a04c5857f491002719b8391fbb2ff513b"><div class="ttname"><a href="a02405.html#a04c5857f491002719b8391fbb2ff513b">OpenMesh::SmartVertexHandle::out</a></div><div class="ttdeci">SmartHalfedgeHandle out() const</div><div class="ttdoc">Returns an outgoing halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:214</div></div>
<div class="ttc" id="a02237_html_abdf740ab77f5d0e97aa1a0ba971354e0"><div class="ttname"><a href="a02237.html#abdf740ab77f5d0e97aa1a0ba971354e0">OpenMesh::BaseHandle::idx</a></div><div class="ttdeci">int idx() const</div><div class="ttdoc">Get the underlying index of this handle. </div><div class="ttdef"><b>Definition:</b> Handles.hh:69</div></div>
<div class="ttc" id="a02413_html_af68268dde49e2914aa42873527321b27"><div class="ttname"><a href="a02413.html#af68268dde49e2914aa42873527321b27">OpenMesh::SmartEdgeHandle::h0</a></div><div class="ttdeci">SmartHalfedgeHandle h0() const</div><div class="ttdoc">Shorthand for halfedge(0) </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:307</div></div>
<div class="ttc" id="a02409_html_ac7e8f051e4a8451e6e39d26e1e427c7b"><div class="ttname"><a href="a02409.html#ac7e8f051e4a8451e6e39d26e1e427c7b">OpenMesh::SmartHalfedgeHandle::prev</a></div><div class="ttdeci">SmartHalfedgeHandle prev() const</div><div class="ttdoc">Returns previous halfedge handle. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:254</div></div>
<div class="ttc" id="a02417_html"><div class="ttname"><a href="a02417.html">OpenMesh::SmartFaceHandle</a></div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:162</div></div>
<div class="ttc" id="a02405_html"><div class="ttname"><a href="a02405.html">OpenMesh::SmartVertexHandle</a></div><div class="ttdoc">Smart version of VertexHandle contains a pointer to the corresponding mesh and allows easier access t...</div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:84</div></div>
<div class="ttc" id="a02305_html"><div class="ttname"><a href="a02305.html">OpenMesh::CirculatorRange</a></div><div class="ttdoc">Generic class for iterator ranges. </div><div class="ttdef"><b>Definition:</b> PolyConnectivity.hh:86</div></div>
<div class="ttc" id="a02249_html"><div class="ttname"><a href="a02249.html">OpenMesh::EdgeHandle</a></div><div class="ttdoc">Handle for a edge entity. </div><div class="ttdef"><b>Definition:</b> Handles.hh:134</div></div>
<div class="ttc" id="a02409_html_a12479fdd603a152aaaa9d94f99c30696"><div class="ttname"><a href="a02409.html#a12479fdd603a152aaaa9d94f99c30696">OpenMesh::SmartHalfedgeHandle::face</a></div><div class="ttdeci">SmartFaceHandle face() const</div><div class="ttdoc">Returns incident face of halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:284</div></div>
<div class="ttc" id="a02413_html_acb5676ffbd6d04266dd767d2eacbb725"><div class="ttname"><a href="a02413.html#acb5676ffbd6d04266dd767d2eacbb725">OpenMesh::SmartEdgeHandle::halfedge</a></div><div class="ttdeci">SmartHalfedgeHandle halfedge(unsigned int _i) const</div><div class="ttdoc">Returns one of the two halfedges of the edge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:296</div></div>
<div class="ttc" id="a01233_html_a01823bd95e3ef1afee35b1abc97c754f"><div class="ttname"><a href="a01233.html#a01823bd95e3ef1afee35b1abc97c754f">OpenMesh::make_smart</a></div><div class="ttdeci">SmartVertexHandle make_smart(VertexHandle _vh, const PolyConnectivity *_mesh)</div><div class="ttdoc">Creats a SmartVertexHandle from a VertexHandle and a Mesh. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:186</div></div>
<div class="ttc" id="a02413_html"><div class="ttname"><a href="a02413.html">OpenMesh::SmartEdgeHandle</a></div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:137</div></div>
<div class="ttc" id="a02313_html"><div class="ttname"><a href="a02313.html">OpenMesh::PolyConnectivity</a></div><div class="ttdoc">Connectivity Class for polygonal meshes. </div><div class="ttdef"><b>Definition:</b> PolyConnectivity.hh:112</div></div>
<div class="ttc" id="a02405_html_a00953b89fc4233e5546689f6cb1a2b3b"><div class="ttname"><a href="a02405.html#a00953b89fc4233e5546689f6cb1a2b3b">OpenMesh::SmartVertexHandle::halfedge</a></div><div class="ttdeci">SmartHalfedgeHandle halfedge() const</div><div class="ttdoc">Returns an outgoing halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:220</div></div>
<div class="ttc" id="a02409_html_a70ca5b7852d4912f3fa4751734251af9"><div class="ttname"><a href="a02409.html#a70ca5b7852d4912f3fa4751734251af9">OpenMesh::SmartHalfedgeHandle::is_boundary</a></div><div class="ttdeci">bool is_boundary() const</div><div class="ttdoc">Returns true iff the halfedge is on the boundary (i.e. it has no corresponding face) ...</div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:290</div></div>
<div class="ttc" id="a02405_html_a84ad8741fab9c111939e3d8c0c80116a"><div class="ttname"><a href="a02405.html#a84ad8741fab9c111939e3d8c0c80116a">OpenMesh::SmartVertexHandle::in</a></div><div class="ttdeci">SmartHalfedgeHandle in() const</div><div class="ttdoc">Returns an incoming halfedge. </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:225</div></div>
<div class="ttc" id="a02413_html_a3ec46172ffabd78ca3ceaa7d443ce64e"><div class="ttname"><a href="a02413.html#a3ec46172ffabd78ca3ceaa7d443ce64e">OpenMesh::SmartEdgeHandle::v1</a></div><div class="ttdeci">SmartVertexHandle v1() const</div><div class="ttdoc">Shorthand for vertex(1) </div><div class="ttdef"><b>Definition:</b> SmartHandles.hh:332</div></div>
<div class="ttc" id="a01233_html"><div class="ttname"><a href="a01233.html">OpenMesh</a></div><div class="ttdoc">Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...</div><div class="ttdef"><b>Definition:</b> MeshItems.hh:59</div></div>
<div class="ttc" id="a02245_html"><div class="ttname"><a href="a02245.html">OpenMesh::HalfedgeHandle</a></div><div class="ttdoc">Handle for a halfedge entity. </div><div class="ttdef"><b>Definition:</b> Handles.hh:127</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
